/*
 * @Author: swanner 1060742052@qq.com
 * @Date: 2022-10-11 10:16:25
 * @LastEditors: swanner 1060742052@qq.com
 * @LastEditTime: 2022-10-28 15:39:54
 * @FilePath: /coderun/vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
module.exports = {
    lintOnSave: false,
    productionSourceMap: true,
    publicPath: './',
    devServer: {
        proxy: {
            '/': {
                // target: 'http://os-kf.gongqi.info/',
                // target: 'http://oa.zjfert.com:36000/',
                target: 'http://124.70.186.161:21000/',
                changeOrigin: true,
                pathRewrite: {
                    ['^' + process.env.VUE_APP_BASE_API]: ''
                }
            }
        },
    },
}
